import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
import * as filters from '@/utils/filter.js' // 全局格式化

import * as ol from 'ol'

import 'ol/ol.css'

Vue.use(ElementUI);

Vue.prototype.$ol = ol;

Vue.config.productionTip = false

Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
